package com.zretc.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/test")
public class TestController {
    private static  final Logger logger = LoggerFactory.getLogger(TestController.class);
    @RequestMapping("/show")
    @ResponseBody
    public String show(){
        logger.info("====控制层测试输出======");
        return "hello controller";
    }
}
